package recommenRatings.domain;

import java.util.Date;

public class Photo {

	private Date uploadDate;
	private String photo;

	public Photo(String photo,Date uploadDate) {
		super();
		this.uploadDate = uploadDate;
		this.photo = photo;
	}

	public Photo() {
		super();

	}

	public Date getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}



	public String getPhoto() {
		return photo;
	}
	
	@Override
	public String toString() {
		return "Photo [photo=" + photo + ", uploadDate=" + uploadDate + "]";
	}
	
}

